package com.xinsoft.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ScmConsumingApplyPageVo {

    private Integer id;

    /**
     * 申请时间
     */
    @Excel(name = "申请时间",orderNum = "0")
    private Date applyTime;

    /**
     * 生产领用申请单号
     */
    @Excel(name = "生产领用申请单号",orderNum = "0")
    private String applyCode;
    /**
     * 申请人
     */
    @Excel(name = "申请人",orderNum = "0")
    private String applyPersonName;

    /**
     * 申请人部门
     */
    @Excel(name = "申请人部门",orderNum = "0")
    private String applyPersonDept;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码",orderNum = "0")
    private String materialNo;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称",orderNum = "0")
    private String materialName;

    /**
     * 规格属性
     */
    @Excel(name = "规格属性",orderNum = "0")
    private String materialSpecific;

    /**
     * 领用数量
     */
    @Excel(name = "领用数量",orderNum = "0")
    private BigDecimal consumingNum;

    /**
     * 计量单位
     */
    private Integer mainUnit;

    /**
     * 计量单位
     */
    @Excel(name = "主单位",orderNum = "0")
    private String mainUnitName;

    /**
     * 领用辅助数量
     */
    @Excel(name = "领用辅助数量",orderNum = "0")
    private BigDecimal consumingAssistNum;

    /**
     * 辅助单位
     */
    private Integer assistUom;

    /**
     * 辅助单位
     */
    @Excel(name = "辅助单位",orderNum = "0")
    private String assistUomName;

    /**
     * 含税单价
     */
    @Excel(name = "含税单价",orderNum = "0")
    private BigDecimal taxUnitPrice;
    /**
     * 含税总价
     */
    @Excel(name = "含税总价",orderNum = "0")
    private BigDecimal taxTotalPrice;

    /**
     * 库存批次
     */
    @Excel(name = "库存批次",orderNum = "0")
    private String batch;

    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 仓库
     */
    @Excel(name = "仓库",orderNum = "0")
    private String warehouseName;

    /**
     * 库位ID
     */
    private Integer warehItemId;

    /**
     * 库位
     */
    @Excel(name = "库位",orderNum = "0")
    private String warehItemName;

    /**
     * 换算系数
     */
    private BigDecimal convCoefficient;

    /**
     * 领料用途字典 用于生产  用于制造   用于备用
     */
    private Integer consumingUse;
    @Excel(name = "领料用途",orderNum = "0")
    private String consumingUseName;

    /**
     * 源单主键
     */
    private Integer sourceId;
    private Integer sourceItemId;

    /**
     * 源单类型
     */
    private Integer sourceType;

    /**
     * 源单类型
     */
    @Excel(name = "源单类型",orderNum = "0")
    private String sourceTypeName;

    /**
     * 源单编码
     */
    @Excel(name = "源单编码",orderNum = "0")
    private String sourceCode;



    /**
     * 审核状态 0-未审核 1-已审核
     */
    private Integer auditStatus;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    @Excel(name = "审核状态",orderNum = "0")
    private String auditStatusName;

}
